import java.util.Scanner;
public class Hmwk
{
    public static void main(String []args){
        double data1,data2,plus,minus,multi,divide;
        Scanner scan = new Scanner (System.in);
        System.out.println ("Enter data1 and data2.");
        data1 = scan.nextDouble();
        data2 = scan.nextDouble();
        plus = data1 + data2;
        minus = data1 - data2;
        multi = data1 * data2;
        divide = data1 / data2;
        System.out.println (data1+ "+"+ data2+  "="+ plus);
        System.out.println (data1+ "-"+ data2+ "="+ minus);
        System.out.println (data1+ "*"+ data2+ "="+ multi);
        System.out.println (data1+ "/"+ data2+ "="+ divide);
}
}
